package com.example.houduan.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * 
 * @TableName eva
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName(value ="eva")
public class Eva implements Serializable {
    /**
     * 
     */
   @NotBlank(message = "id不为空")
    private Long id;

    /**
     * 
     */
    @NotBlank(message = "评论不为空")
    private String evaluation;
    @NotBlank(message = "用户名不为空")
    private String username;

}